
-- clean all error logs
local FOO = {
    shell_ver = '20211203_01',
};

FOO.content =
[[
echo task begin ====
cd /usr/local/openresty/nginx/logs/
ls ./*error*.log | xargs truncate -s 0
chmod 666 ./*error*.log
ls ./*error*.log -Srlh
echo task over ====
]];

return FOO;


